object dmDadosEmpresa: TdmDadosEmpresa
  OldCreateOrder = False
  OnCreate = DataModuleCreate
  Height = 354
  Width = 405
  object sqlTblemp: TSQLDataSet
    CommandText = 'select *'#13#10'from tblemp'
    DbxCommandType = 'Dbx.SQL'
    MaxBlobSize = -1
    Params = <>
    SQLConnection = dmConexao.SQLConnection
    Left = 176
    Top = 16
  end
  object dspTblemp: TDataSetProvider
    DataSet = sqlTblemp
    UpdateMode = upWhereKeyOnly
    OnUpdateError = dspTblempUpdateError
    Left = 176
    Top = 72
  end
  object cdsTblemp: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspTblemp'
    AfterInsert = cdsTblempAfterInsert
    Left = 176
    Top = 128
    object cdsTblempempcnpj: TStringField
      FieldName = 'empcnpj'
      Required = True
      OnValidate = cdsTblempempcnpjValidate
      EditMask = '99.999.999\/9999-99;1;_'
      Size = 18
    end
    object cdsTblempemprazaosocial: TStringField
      FieldName = 'emprazaosocial'
      Required = True
      OnValidate = cdsTblempemprazaosocialValidate
      Size = 50
    end
    object cdsTblempempie: TStringField
      FieldName = 'empie'
      Required = True
      OnValidate = cdsTblempempieValidate
      Size = 15
    end
    object cdsTblempempender: TStringField
      FieldName = 'empender'
      Required = True
      OnValidate = cdsTblempempenderValidate
      Size = 50
    end
    object cdsTblempempnro: TStringField
      FieldName = 'empnro'
      Required = True
      OnValidate = cdsTblempempnroValidate
      Size = 5
    end
    object cdsTblempempcompl: TStringField
      FieldName = 'empcompl'
      Size = 15
    end
    object cdsTblempempbairro: TStringField
      FieldName = 'empbairro'
      Size = 30
    end
    object cdsTblempempcep: TStringField
      FieldName = 'empcep'
      Required = True
      OnValidate = cdsTblempempcepValidate
      EditMask = '99999\-999;1;_'
      Size = 9
    end
    object cdsTblempempcidade: TStringField
      FieldName = 'empcidade'
      Required = True
      OnValidate = cdsTblempempcidadeValidate
      Size = 40
    end
    object cdsTblempempuf: TStringField
      FieldName = 'empuf'
      LookupDataSet = dmDadosGlobal.cdsUf
      LookupKeyFields = 'uf'
      LookupResultField = 'ufdescr'
      Required = True
      Size = 2
    end
  end
end
